<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>选择模型</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/style/layout.css"/> 
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/style/content.css"/>
    </head>
    <body>
        <div class="cbox col6 f_l">
        
            <div class="header"><h3>选择文档模型</h3></div>
            <div class="content">
                <div class="innerbox">
                    <fieldset class="col9">
                        <label>模型列表</label>
                        <select name="cid">
                            <option value="0">--无--</option>
                            <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["id"]); ?>"><?php echo ($vo["name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                        </select>
                    </fieldset>
                    
                </div>
            </div>
            <div class="footer">
                <div class="submit f_r">
                    <input type="button" value="确定" onclick="window.location.href='<?php echo U('add',array('cid'=>"'+$('select[name=cid]').val()+'"));?>'" class="subbtn"/>
                </div>
            </div>
        
        </div>
        
    </body>
</html>